package com.pf.责任链模式.java;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class BossLeader extends Leader {

    public BossLeader(String name) {
        super(name);
    }

    @Override
    public void handleRequest(LeaveRequest leaveRequest) {
        log.info("请假人：【{}】，请了{}天假，由老板【{}】审批....", leaveRequest.getLeaveName(), leaveRequest.getLeaveDays(), this.getName());
    }
}
